package zhh.tangbao.websocket.pojo;

import lombok.Data;

/**
 * <p>
 *     售货机状态监控：修改机器的相关数据内容
 * </p>
 * @author 粥灰灰
 * <p>2023/4/20</p>
 */

@Data
public class MachineRunning {

    private String id;

    private Integer runningState;

    private Integer queueSize;

    public MachineRunning() {
    }

    public MachineRunning(String id, Integer runningState) {
        this.id = id;
        this.runningState = runningState;
        this.queueSize = 0;
    }

    public MachineRunning(String id, Integer runningState, Integer queueSize) {
        this.id = id;
        this.runningState = runningState;
        this.queueSize = queueSize;
    }
}
